export MANPAGER=less

export GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES`

connect-windows() {
    # 192.168.42.185
    #xfreerdp /u:etcix /v:${1}:3389 /f /floatbar /d:echo-etcix /p:1
    xfreerdp /u:etcix /v:${1}:3389 /f /floatbar /d:echo-etcix /p:1
}

# curl Funs for helping
check() {
  # Info
  echo "support commands: [wet, addr, ip, ]"

  read -p "[type in command]: " subcommand
  case $subcommand in
    ip)
      curl cip.cc
      ;;
    addr)
      curl ipinfo.io/8.8.8.8
      ;;
    wet)
      curl wttr.in/?lang=zh-cn
      ;;
    *)
      echo "Not support Yet"
      ;;
  esac
}

if-interesting() {
  curl qrenco.de/"${1}"
}

proxy-git-clone() {
  git clone https://mirror.ghproxy.com/"${1}"
}
